package com.yuyou.fn.settlement.service;

import com.yuyou.fn.settlement.entity.ChangeRecord;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by wens on 2017/3/24.
 */
public interface ISettlementService {

    void bookFee(Long mainAccountId, Long relMainAccountId, BigDecimal amount, String remark ,String tags , Long trackingId);


    void bookIncomeForCourse(Long mainAccountId, Long relMainAccountId, BigDecimal amount, String className ,Long  classId , Long regId );

    void decreaseBalance(Long mainAccountId, BigDecimal amount);

    void increaseBalance(Long mainAccountId, BigDecimal amount);

    void bookRefundForCourse( Long mainAccountId, Long relMainAccountId, BigDecimal amount, String className ,Long  classId , Long regId );

    List<ChangeRecord> findChangeRecordsByTrackingId(Long trackingId, String subject, Integer direction);

    void bookConsumeCourse(Long mainAccountId,BigDecimal amount, String className ,Long  classId , Long regId);

    void bookTeacherCost(Long mainAccountId, Long relMainAccountId, BigDecimal amount, String className , String lectureNo ,Long  classId , Long finishLectureId );

}
